// StaticStateShow.cpp: implementation of the CStaticStateShow class.
//
//////////////////////////////////////////////////////////////////////

#include "stdafx.h"
#include "Laser.h"
#include "StaticStateShow.h"

#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif

//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////

CStaticStateShow::CStaticStateShow()
{
	SetFontParam(15);
}

CStaticStateShow::~CStaticStateShow()
{

}

void CStaticStateShow::SetValue(int nState)
{
	if (nState)
	{
		SetBackColor(RGB(0, 255, 0));
	}
	else
	{
		SetBackColor(RGB(255, 0, 0));
	}
}